package com.seu.me.test.end.bill;

import com.seu.me.test.end.data.DiagnoseTypeInfoData;
import com.seu.me.test.end.data.MedicalFeeInfoData;
import com.seu.me.test.end.data.MedicalInfoData;
import com.seu.me.test.end.data.OtherInfoData;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import java.util.ArrayList;
import java.util.List;

/**
 * 账单M信息
 * 门诊
 *
 * @author liangfeihu
 * @since 2019/11/20 14:30
 */
@Data
@ToString
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
public class BillInfoM {
    private String FeeType = "M";
    private String BillNo;
    private String HospitalCode = "";
    private String HospitalName;
    private String ClinicDate = "";
    private String BillMoney = "";
    private String InsurancePayMent = "";

    private String OrdinaltionFund = "";
    private String SelfAccountPayMoney = "";
    private String RetirementPayMent = "";
    private String CivilServants = "";
    private String DisabilitySoldier = "";
    private String OwnEpense = "";

    private String IndividualPayA = "";
    private String IndividualPayB = "";

    private String DeductionFeeMount = "";
    private String ThirdPayMoney = "";
    private String OtherPayRadio = "";
    private String OtherPayMomey = "";
    private String PayMentForm = "";
    private String SegmentCom = "";
    private String SegmentFlag = "";
    private String StandByFlag2 = "";

    public BillInfoM(String billNo, String hospitalCode, String hospitalName, String clinicDate, String billMoney) {
        BillNo = billNo;
        HospitalCode = hospitalCode;
        HospitalName = hospitalName;
        ClinicDate = clinicDate;
        BillMoney = billMoney;
    }

    @XmlElement(name = "MedicalInfoList")
    private MedicalInfoData medicalInfoData = new MedicalInfoData();

    @XmlElement(name = "MedicalFeeInfoList")
    private MedicalFeeInfoData medicalFeeInfoData = new MedicalFeeInfoData();

    @XmlElement(name = "DiagnoseTypeInfoList")
    private DiagnoseTypeInfoData diagnoseTypeInfoData = new DiagnoseTypeInfoData();

    @XmlElement(name = "OtherInfoList")
    private OtherInfoData otherInfoData = new OtherInfoData();

}
